#pragma once
#include "afxwin.h"
#include "utility.h"

class CCustomDialog : public CDialog
{
	DECLARE_DYNAMIC(CCustomDialog)

public:
	CCustomDialog(UINT nIDTemplate, CWnd* pParent = NULL);
	~CCustomDialog(void);

private:
	bool m_bHasDraged;
	CPoint m_pointDown;

public:
	DECLARE_MESSAGE_MAP()
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};
